﻿@model IQueryable<FormInputProject.Models.Point>
@{
    ViewBag.Title = "填报";
}

<h2>数据填报</h2>

@using (Html.BeginForm())
{
    <table style="width:900px; text-align:center;" cellspacing="">
        <tr>
            <th>描述</th>
            <th>值</th>
            <th>单位</th>
            <th>历史数据</th>
        </tr>

    @foreach(var point in Model ){
        <tr>
            <td>@point.PointDescription</td>
            <td>@Html.TextBox(point.PointName)</td>
            <td>@point.Unit</td>
            <td><a href="/record">历史数据</a></td>
        </tr>
    }

    </table>
    
    <input id="iptSubmit" value="提交" type="submit" style="float:right;margin:0px 55px 0px 0px" />
}

